Item13023: Fix test portability, debug messages

Can't hardcode foswiki root location.