introduced unit test for password and accountdetails