An invalid rev should lead to a 1200 ("conflict") error rather than a 1239 ("illegal document revision") error. This is more intuitive and in line with the corresponding change in the HTTP API. No tests needed adjustment.