Switch Design tests to activity rules.

Also wrap one state mutator call in BottomSheet test to run on UI thread
and add missing copyright header.

Change-Id: I88ead90e61e6fd24e80fe97373bbef98be25fec6
6 files changed