resolve unit test hangs