add tests for user