Finished documentation and tests