updated tests & docs