Animation timing end delay tests and bugfixing