Made the test more reliable.