events are now tested!
testing conditional display
fix typo
now returns a map of functions