added some code to log values from the tests to facilitate
troubleshooting