most tests ok, starting to update docs.