restore ref tests instead of manual ones