simple tests for validations