Pakistan pick two wickets but Australia stay on top