Switching tests
Fixing tests
Better auto_root_ref
Simpler auto_root