Add unittest for minifier