test: remove unused code

It makes tests private... Private methods are not tested... Oh...