tests that setters do not alter other field