adding test coverage for user