Add env vars PULSE_TIME and PULSE_SHRINK_TIME for more testing flexibility