Add valgrind-3.6.0 support to unit tests