Repaired test_loader