add test for scrambleOldPassword