Add valgrind test file
Actually make it compile