Link to robolectric
Adding example app