test($animator): ensure invalid $sniffer.transitions and $sniffer.animations flags are caught in animation spec code