removed useless code from tests