Documentation updates and unit test fixes