use more general test instead of testing for minification