fix expected test results

Default constructed images are only 2D. Comparison of z size is not
valid.

Change-Id: I49313e4447f78b14fdbd45523c149ab21c1d8b80
Merge topic 'SIMPLEITK-537_AddDisplacementFieldSupport' into next

15f6fbec fix expected test results