Added test to ensure that AntBehaviorOnRemovedEntity method is called at the proper times.