Suppress deprecated warnings

Suppress deprecation warnings for tests which are testing desecrated
APIs for document and attachment manipulation