Update AppCompat tests to use Activity Rules

Also tidied up some tests which test the Activity
finishing. These tests should be less flaky now.

Change-Id: I13eea877896b4a5fd38e9ea510a0bed03b1fcb33
9 files changed