Finished unit tests for logging