Error in logic of extract_pv_slice for WCS

if cube is a Numpy array and WCS is passed, then WCS gets reset to None currently
Would it be better here to pass the functions, then call the functions within `test_output_wcs`?  In the current case, the functions are called at import time