updating documentation and metadata.json
fixing test and updating docs