Add missing test for decorator.