Addition of a nifti struct unit testing function.