couch_mrview: add view changes test

test view changes and fix errors.