Main Logger class tests
Bug fix (invalid variable scope within methods)