Try to make this test more reliable.