[IMP]:Improve test case used flot compare