testing some validations