updated changeAssignment test