add test for core-animated-pages

minor nit: extra space after (): `() {}`