passing formats to the RestRouteLoaded in tests allows _format to be set