Refine the test for unaligned memory access