changePassword method written, tests added