Bugfixes to runjourneyplannertest, also debugging output.

Changed to use onserver variable in conditional tests.