corrected example code in test.