Fixed #5941: modified some testcases for new renderer

modified some testcases for new renderer