Fixes the test flakyness.
Fixes the test flakyness.

Unsure why the tests would ever pass before, I guess a timing issue
between roslaunch and rosnode made it okay sometimes? In any case, this
fixes it. Ready for merge after review.

gtagency/pyrostest,gtagency/pyrostest