I tripped over something like this once. So (if I have misunderstood, apologies in advance)
1) You made some additions/changes to the BSV and put it into test mode. Test database gets updated with all the additions/changes
2) You restored an earlier version that does not contain the additions/changes and you made some small changes to that and then tried to put it into test mode
3) You restored an earlier version of the DATABASE which does not contain the additions/changes
4) so now, the earlier version of the BSV will be trying to drop attributes that physically don't exist in the restored database.
Try restoring a version of the database that has those attributes in it and see if AIM will then drop them.
My workaround (and it was a painful experience) was to go into the database and manually ADD those attributes so that AIM could then drop them. The painful bit is - if you have made (eg) 6 changes, and you only add 5 back in, AIM will fail because it can't drop the 6th (It's not there to drop) so it's back to square 1 and you have to start over. ..... Sorry!!