Replace print statements by logging calls

Thom Wiggers
2018-10-04T10:28:46+02:00

This should silence the output during unit testing.