added tests around using tests for objects in a query string.
put a test around array serialization.
Merge pull request #1127 from bcoe/query-string-objects

added tests around using objects as values in a query string