Robolectric support

Add Robolectric support. Related #22.