Revert "Reduce the number of device config switches in tests."

This reverts commit 8f3bc0ffe789bb07638a8d4d7303e8fd8c5c3aab.

Reason for revert: This CL essentially removed a bunch of device cleanups, which (unexpectedly) left the device at a test state. Need some time to figure out an `AfterAllClass` clean up option.

Change-Id: Icaf48a78489d980992c8d169061e3583f5747ebc
1 file changed