Use iolist handling at the functions in tests

So convenient!