add document tests
Revert commit to doc_test.go
Implement references to example lists