Add Tests

Adds tests. Increases test coverage from 30% to 70% :smile_cat: 
If the constants defined above are the keys, I think we should be using them here.

    assertEquals(httpClient.getLastCalledData("action_name"), actionName);

would become

    assertEquals(httpClient.getLastCalledData(ACTION_NAME), actionName);