(#1936) - added another test fro inclusive_end and document its use
(#2129) - fix buggy idb inclusive end