Attempt to fix valgrind stall on assert tests.