Delete unnecessary printf() in test with no elements