added test cases for parsing dates with value-class-pattern