updating docs, adding tests