added more information to test-print fail case