Better logging when running tests