Create a global array and push the new animations into it to avoid GC during the test.