Add formatting tests for cowboy/webmachine errors