Irreducibility testing of finite nilpotent linear groups