Adding CTS tests to verify new APIs behavior.

Some non shipped APIs' behavior changed and this patch adds
CTS tests to verify that.

Tests for change:https://googleplex-android-review.googlesource.com/#/c/270648/

bug:8134469

Change-Id: I0bf68cfc94bca6fc4ebac020bf91bb37bc30482a
1 file changed