test: parametrize waiting test