Added testcase to test termination of aabb structure rebuild. However the structure itself is not checked.