Update unit tests' usage of SchemaLoader to reduce testing time