Add RSpec helpers for testing handlers.