improve test coverage with tests for testfiles module and cli/test module