update & add test example.