Fix badly created test case in validation unittest