fix(hopefully): comparisong between potentially different types make some tests fail only on TravisCI