CONN-896: fix for ondemand docs
CONN-896: regression test for on demand docs reference adapter.
CONN-896: fix for unit test.
Merge pull request #699 from msweaver/CONN-896

Conn 896