fix delete tests