Wrote test for isPasswordSecure.