added model tests to User