fixed waiting test