Set isComplete to true for unit tests.