Create testtemplate.js

Stupidly simple "test framework"
TODO: Use a real one