add callback and test to events.raise

fixes the other half of Hoist/hoist#38