Added junit tests for various activities.

I've written a few tests for various activities as well as set-up gradle to run these tests and generate reports. I've also updated the readme with basic instructions on running the tests locally.