Added build minification
Changed test script to use Mocha API