code coverage and bug fixes

* a ton of additional tests for wkt.js
* some fixes for `convert` method that the tests found