Move 'InMemoryRuntime' to tests project