recombining the robolectric tests into core