Fix test, compile less, doc, add tests.