Support for AndroidTestCase (now setting context).