Added test cases for displayDate() methods