A Swindon man will stand trial for an alleged incident of racially aggravated harassment.