adds tests for delay; only synchronous for now