fixed tests for two_body_indexes and fixed fermion state to give the correct sign in two_body_indexes