TST: Unit test to check for 3d unwrap seg fault

Added a unit test to check for bug in unwrap_phase which causes
a segmentation fault when the middle dimension is connected.