fix some bug ,add test assert ,add exmaplev2