Contents test reuse 4

More tweaks made while working through my failed tests from `test_contents_api`.
base64.decodestring expects bytes, not unicode/str, need `model['content'].encode('ascii')` here.