add tests for content as an array