updated validation on tests.