Exercise defs and use

Adds three tests that contain defs and use elements, with animations
defined within a def.