add tests for UserType model