Fixed --noMinify option and added tests