tests: useless code removed