added wildcard support for pw.clear() method.
added comment in the test scrpt, and add all test back.