fix(test): Check multiple times for running unit
Merge pull request #405 from bcwaldon/robustify-test

Check multiple times for active unit in functional test