added test for password service