remove useless methods from tests