Added some test cases around delay