Removing prints and adjusting tests fo scope check before aggregation