added a check to find the goddamn npe cause in messagin tests