rename test function to debugInfo