A Ballymena man was pulled over on suspicion of speeding and police then detected an excess alcohol offence, a court has heard.