basic unit tests for Set functions
add basic unit test for getJsonResponse