Renamed test_offsets to check_offsets