adopted unit tests to json data