Added a test for injectPasswords() wrapper