server-14289: invalid limit for delete command result in write error

add iteration through deletes to check limit value + js test