Further documentation updates. Added test case.