Fixed https://github.com/igor-tkachev/bltoolkit/issues/185.
New tests.
Fixed #11.