A Federal Court judge is preparing to determine whether Pauline Hanson made a racial slur in telling a Greens senator to go back to Pakistan.