Updated test for deadline