A 46-year-old man is set to stand trial after he denied making offensive racial remarks in Greenock.