add extra logging for test