Tweak tests before minification/compilation stage