Fix onlyif test