Fix Bug in ScalaAggregate Operator and add ITCase