Fix shell quoting error and dup trap in test qa/835
pmdads389: new test (qa/825) to exercise install/remove/values