add unit tests for password parameter support