@@ -0,0 +1,396 @@
+from __future__ import with_statement%0Afrom sikuli.Sikuli import *%0A%0Adef changed(event):%0A   print %22changed!: %22 + str(event)%0A%0Adef appeared(event):%0A   print %22apple appeared %22 + str(event)%0A%0Adef vanished(event):%0A   print %22apple vanished %22 + str(event)%0A%0Awith Region(0,0,300,300):%0A   onChange(changed)%0A   onAppear(%22test-res/apple.png%22, appeared)%0A   onVanish(%22test-res/apple.png%22, vanished)%0A   observe(5)%0A

add test case for observer