Australian Treasurer Josh Frydenberg says he was tested for COVID-19 and is isolation awaiting the result after he coughed repeatedly during a speech in parliament on Tuesday.