Fix running of tests
Support generation of docs
Add generated documentation