add extra debugging information temporarily, add another test function that gives more information