Added canUseMethodReference test