test that first argument of extension method is stripped for completion (closes #3261)