Test output of wavefunctions