update example, add SetTest