Added another statusCode check (identified running on Travis CI)