add tests to documentation