Task deadline and some tests were added