For a special case (when $a=\pm 1$) see
About irreducible trinomialsAbout irreducible trinomials
Testing irreducibilty over small moduli (obviously, if your polynomial is irreducible modulo $p,$ it is irreducible), is described in detail in this paper of Richard Brent's.