added tab switching in CarCatalogTest