tests: fix the tests

The void probably did ended up on the wrong line by mistake.