fix tests failing from time to time
Merge pull request #1 from ComLaude/fix_tests

fix tests failing from time to time