added more tests to user spec