Move tests into a module.