Test for #1197: AppliedMethod and AppliedAttribute