The economy grew by 0.5% in May, higher than most economists expected.