Fixed InMemoryActivityManagerTest failed