Fixed tests for tkinter scheduler
Added example for tkinter