tests: use sub-second timeouts to speed up a timeout test