added validate custom qunit test cases.