Deprecation decorator tests

Add tests for decorators @deprecated and @deprecate_arg

Change-Id: I0cb8edd929b7c335cfed1e82a747f4c6c6c726cb
Merge "Deprecation decorator tests"