More tweaks and tests (addition of relative deadlines, and fixed deadline due check)