Context logger - Removed dependencies to System.getProperty() from tests.