Updated unit test case to demonstrate how to test for logged messages (something I find very useful.