Add tests for contents