Added tests to check msg is logged. Cleaned up comments, renamed method for clarity and removed redundant tests.