(#1936) - added/fixed the view tests
(#1936) - throw error if inclusive_end is set without endkey