more sane sleeping, cleaner integration tests