Setup testing framework, switched to CommonJS style modules