add complex add/query/delete test