Made test less timing critical for automated tests (on travis ci).