rm used code from tests