Add tests for get_password