test add, drop and connect operations