enable all milestone for middleware

The milestone 'all' was not supported by middleware, this patch fixes
that, and in doing so improves code coverage