fix MethodDecoration test