add test to ensure multiple deletes work
handle user map/reduce function errors