build test/index.html from template