added verification to test for halo flip