Move tests into test module.