why does this need to be inside a 'test' callback?  Other tests do asserts directly in the event handlers.