Basic minification integration tests

- Moved helper functions for integration tests before Mocha specific methods to be more consistent with unit tests