Smaller towns have contested races