Test for multiple waitFors in array