Adding tests for generating parameters

Adding tests for generating passwords and certificates.

Change-Id: I0fb09e4004b1c5f0cb2aa0366965abaa1e470f62