Added unit test case for isOverdue