Applied testing fix from SO

See http://stackoverflow.com/questions/16649397/robolectric-with-gradle-resources-not-found
Correctly set up activity in robolectric