doc fixes and better handling of mock missing mock library. Fixes #86.