Fixes call to addActorToCollection, adds some tests.