prepare test

copy from https://github.com/pogin503/emacs-test-sample
rewrite for quick-toggle
fix errors at test on emacs24.3.1
implement quick-toggle-find-matcher