moved namespacing events to registry and added teardownall and teardown tests