Unit test delay functions