fix test, add valgrind to travis invocation