> in another pull request maybe, so this can be finally closed.

That makes sense.

> About this part of the code, personally i would prefer to put in a queue directly a whole test, not input and output functions.

That would be great!