Adding more unit tests to verify logging works as expected