fix tests for rewritten loaders
fix tests for rewritten loaders