refactor(tests): put tests on top level
fix(build): actually do something when minifying html