Added tests to documentation