Add more logging to test