FIXED: sparse permute import errors
Added tests for sparse permute