password helper test random generated string test