Australia take control of third test against New Zealand