Fixes the error with test/logglyAppender-test

Refs #172

I will add more relevant tests later