Removed context from Logger.getInstance and fixed unit tests.