A Port Glasgow man is to stand trial after he denied supplying drugs from a flat in the town.