A CommonJS module exporting a function for running tests