it('should properly process password combinations', function() {
				instance.setAndCheckPassword('a');
				Assert.enabled(signUpPage.password2Field, 'Password2 field should be enabled if password is entered');
				Assert.classEquals(signUpPage.feedback, 'has-feedback', 'There should be no feedback if Password is entered but Password2 is empty');
				Assert.disabled(signUpPage.signUpButton, 'Sign Up button should be disabled unless both passwords entered and are equal');
				
				instance.setAndCheckPassword2('a');
				Assert.hasClass(signUpPage.feedback, 'has-success', 'Feedback should success if passwords are equal');
				Assert.enabled(signUpPage.signUpButton, 'Sign Up button should be enabled if both passwords entered and are equal');
				
				instance.setAndCheckPassword2('b');
				Assert.hasClass(signUpPage.feedback, 'has-error', 'Feedback should fail if passwords are not equal');
				Assert.disabled(signUpPage.signUpButton, 'Sign Up button should be disabled unless both passwords entered and are equal');
				
				instance.setAndCheckPassword2('ba');
				Assert.hasClass(signUpPage.feedback, 'has-error', 'Feedback should fail if passwords are not equal');
				Assert.disabled(signUpPage.signUpButton, 'Sign Up button should be disabled unless both passwords entered and are equal');
				
				instance.setAndCheckPassword2('');
				instance.setAndCheckPassword('ab');
				Assert.enabled(signUpPage.password2Field, 'Password2 field should be enabled if password is entered');
				Assert.classEquals(signUpPage.feedback, 'has-feedback', 'There should be no feedback if Password is entered but Password2 is empty');
				Assert.disabled(signUpPage.signUpButton, 'Sign Up button should be disabled unless both passwords entered and are equal');
				
				instance.setAndCheckPassword2('a');
				Assert.hasClass(signUpPage.feedback, 'has-error', 'Feedback should fail if passwords are not equal');
				Assert.disabled(signUpPage.signUpButton, 'Sign Up button should be disabled unless both passwords entered and are equal');
				
				instance.setAndCheckPassword2('ac');
				Assert.hasClass(signUpPage.feedback, 'has-error', 'Feedback should fail if passwords are not equal');
				Assert.disabled(signUpPage.signUpButton, 'Sign Up button should be disabled unless both passwords entered and are equal');
				
				instance.setAndCheckPassword2('ab');
				Assert.hasClass(signUpPage.feedback, 'has-success', 'Feedback should success if passwords are equal');
				Assert.enabled(signUpPage.signUpButton, 'Sign Up button should be enabled if both passwords entered and are equal');
				
				instance.setAndCheckPassword('');
				Assert.enabled(signUpPage.password2Field, 'Password2 field should be enabled if it is not empty, even when password is empty');
				Assert.hasClass(signUpPage.feedback, 'has-error', 'Feedback should fail if passwords are not equal');
				Assert.disabled(signUpPage.signUpButton, 'Sign Up button should be disabled unless both passwords entered and are equal');
				
				instance.setAndCheckPassword2('a');
				Assert.hasClass(signUpPage.feedback, 'has-error', 'Feedback should fail if passwords are not equal');
				Assert.disabled(signUpPage.signUpButton, 'Sign Up button should be disabled unless both passwords entered and are equal');
				
				instance.setAndCheckPassword2('');
				instance.setAndCheckPassword('');
				Assert.disabled(signUpPage.password2Field, 'Password2 field should be disabled if it is empty and password is empty');
				Assert.classEquals(signUpPage.feedback, 'has-feedback', 'There should be no feedback if both Password and Password2 are empty');
				Assert.disabled(signUpPage.signUpButton, 'Sign Up button should be disabled unless both passwords entered and are equal');
			});
			it('should allow entering password', function() {
				instance.setAndCheckPassword(instance.TEST_PASSWORD);
				Assert.enabled(signUpPage.password2Field, 'Password2 should be enabled if password is not empty');
				Assert.classEquals(signUpPage.feedback, 'has-feedback', 'There should be no feedback if Password2 is empty');
				Assert.disabled(signUpPage.signUpButton, 'Sign Up button should be disabled unless both passwords entered and are equal');
			});