What gives humans a right to test on animals?

If the motive of these testings are in the interests of both humans and animals for survival and better life for both ,then humans should get right to test on animals as they have better developed brain ( are more intelligent )