Add unit tests and methods for calculating overdue status and days overdue.