fixed minor offset errors in tests