Adding QUnit test cases for validationRequirementsFromAttributes