adding tests for content marshalling