 
   user = helpers.beginTest(browser)
   helpers.openAccountPage(browser)
+
+  if not currentPassword
+    currentPassword = user.password
 
   browser
     .waitForElementVisible   inputSelector, 20000


    notificationText = 'Passwords did not match'

    changePasswordHelper(browser, 'koding', 'kodingtest', notificationText)
    browser.end()



    newPassword      = utils.getPassword()
    notificationText = 'Your account information is updated.'

    changePasswordHelper(browser, newPassword, newPassword, null, notificationText, fn)
