add tests for model user