restructure one context event for testing