We are using failpoints for integration tests for maxTimeMS in Legacy. We should also add similar integration tests in Core.