handler: Test that crits don’t count as ok

Make sure that if a state is critical that it doesn’t count towards the
ok ones.
Organize test so that we know when messages are published
Merge pull request #2 from philipcristiano/tests

handler: Test that crits don’t count as ok