Fixed logger in base class
Added tests for logger object