fixed tests in user spec