Spec tests for `razor events`

This adds tests for the `razor events` query.