added tests for passwword