fixing handling of refined-is tests