Fix syntax error in scatter series tests