[test] Fixes test for the compiler pass