Rewrite isTravisStatus and tests