debugging not working travis tests: re-instate certificate checking