Adds tests to user model