A Greenock man is to stand trial charged with making violent threats in a voice message.