Fixed the testcases for stats and schedule fragments