Fix timing emulation in the test generators