Simplified unit tests for #2445 as per comments by @timgraham on Feb 10, 2014.

- Used one-statement create() method invocation instead of multi-line
  attribute assignment.
- Renamed symbol names in unit tests to be more descriptive.
- Used attribute data instead of raw strings when asserting test success
  condition.
- Converted response.content (bytes object in Python 3) into type 'str' to
  assert successful test condition using str.count method.
- Alphabetized import statements.