made test more robust

It failed here:
https://travis-ci.org/Thomvis/BrightFutures/builds/44665192