Extracted the AbstractBeltimeActivityInstrumentationTestCase class.