updated domain and User model test