Added ClosedLoop test, Events, CachingAllocator