Unit test fixes for Windows and Sphinx documentation

- I applied a few unit test fixes and used test discovery
- I turned on Sphinx + CodeChat for the whole project, then placed lots of docs in source files.