cleaning up logs, and getting the test to pick out the right property of the message