This is only partly true, the EU law is actually very misleading. The ban on animal testing of ingredients only applies if the ingredient is ONLY being used in a cosmetic product, and ONLY applies to the customer safety tests. If the ingredient is also being used in ANY non-cosmetic product (which many are), it can be, and usually is, still tested on animals. Also, even if the ingredient is only being used in cosmetics, the worker safety and environmental tests are not covered by the law and so are usually still done on animals.
The companies are hiding behind the public's mistaken belief that the law now prevents all animal testing of ingredients - it doesn't, and it still takes commitment from the manufacturers to be cruelty free. This is why the only way to be sure a product is cruelty free is still to look for the Cruelty Free International endorsement (Leaping Bunny), because CFI only endorses if animals are not used for ANY of the tests, not just those banned by law. CFI is tackling the EU about the fact that they're misleading the public and that the law doesn't do what it should.