Add possibility to have the output contained by the object.
Test calling 'end' in a void context to improve coverage.
Merge branch 'object-contains-output'