test: remove needless code