Adding logging for test scope