clean test in _template