Fix unittest where handlers expect 'POST' requests

@antoviaque Not much to explain. Review and merge please.