Fix table tests to handle timeshifted keys