Add tests for password update