Added tests for user validations