* Vim tags were broken.
* Refactor, hopefully will lead to better code coverage.

Also, change delay in busyloop waiting for the sleeper thread to be sleeping. It
seems like a natural choice, because when delay was 0.1, only a race condition
prevented from failing tests.