Add test case for enum rule in Validation class. The test passed #12.