Testing all possible combinations of HTML tags