Added more test codes to TestLogic. Added one more if statement for
deadline task