unwrap: Add test for masked arrays using branch cuts.