moved logging line to test file