added test for getUserPassword