First round of unit testing,

Changed httpservice to mock the json from a local storage. And added a
test project.