Defined new function fix_prf_nan
Skip tests which require scipy