addded some logging to the functional tests