added more tests for the user model, also modified the user migration file