Missing test for $editor in behavior callback