Fixed valgrind test (bad parameters)