Convert DI, SQL tests to robolectric