Australia beat England in Ashes test