AUI-1279 Add testSelf option to ancestorsByClassName to match ancestors default behavior