add complex test fix delete base