Fixes tests compile error.