SchemaLoaderTest: some code rework