feat(server): added tests for user model