Added test case for logger abstract service factory.

Change-Id: Ibd0e492df076b801cb91078753bfe40bf77f63c0