Add valgrind assembling test.