Hayden smashes Test record