test: local attachment removal