Added a test safe for named password policies
Fixed named password policies
Improved test framework