Wave-function tests for lattice QCD spectroscopy