Added a simple test for logging