Use string.find to get expected value of start_pos.offset in test.lua