changed valgrind tests