[Test] fix bug of some test, add test case for #655