It looks like you pushed v1, which didn't have the tests and other changes you asked for. Attached patch adds those back.
Oops, I missed, I don't know how... Thank you very much for your quick eye! -- Teodor Sigaev E-mail: teo...@sigaev.ru WWW: http://www.sigaev.ru/