Locales test fixed - updated button search logic