TestHelpers: Improve valgrind test execution

Change-Id: Idb26ee3ea8180b62a504f6d073f53bf2bc2498f4