fixed test, updated docs