added spec for setting value based on equality of another value