tests usage docs
Updated docs, minor bugfixes