Fix expected exception on empty json file in ConfigTest