Test finding offsets