Added legend to xyscatter test