add stax_offset_comparison test

Change-Id: I0b626845fdadba3ea4ef71f66947ca701c7cb216