Helpers for testing Cowboy handlers