AnimationEffect callback tests
Minor code style changes