added some tests for the user model