Update documentation a bit. Fixed a few provider unit tests.