test case for nativeBars setTexts