tesitng cachig of password