Stock markets test resistance levels