Added tests for ResourceLogger and LogLevelTranslator