Added event types doc tests, removed some magic

Signed-off-by: Eric Malm <emalm@pivotallabs.com>