fixed validation test (refs to schemas)