Write some with_code helper function tests
Make the tests pass
with_code -> has_code in tests
Make the tests pass
Improve docstring
Empty line after docstring (lint)
Merge pull request #832 from rackerlabs/response-pred

Add a with_code response predicate