adds tests to parse response and adds exception to json parsing