Add tests to verify 'password update' feature