Adding logging for test