Make sure the test won't fail under Valgrind