Fix delay component and test for it