Support running test without install
Add valgrind related options