Add offset sanity check test.