A Greenock man is set to stand trial after denying a claim that he was in possession of an air rifle without holding an appropriate certificate.