fix references (fixing tests)