Add Tests

Adds tests. Increases test coverage from 30% to 70% :smile_cat: 
Maybe, but probably not. Our API should be sending correctly-serialized data (`true` instead of `"true"`) in the first place, and JSONObject will throw a JSONException if a nonexistent property is accessed (`json.getBoolean("automated")`).