Test for --no-minify flag.

This commit adds a test for the no-minify option, and fixes an instance where minification happens despite the flag being passed.