test for checking due date is created. Implemented by adding column to the database