Fixed issue with hub proxies not being minified

- Added a unit test to ensure configured minifier is used
- #1710