changed parameter for substring for Json test