fix object_add slot parameter, improve tests, add to plugins and presets