Add disable-logging logic to test-module

test-module also does the string-replacing that the runner does, so it
needs to handle logging accordingly.

Signed-off-by: martin f. krafft <madduck@madduck.net>