Updating chapter 8 with examples and robolectric

Added examples for unit test and instrumentation tests. Added
robolectric dependencies.