One of the biggest problems could be recognizing AI in the first place. If a synthetic entity achieved sentience independently or by accident, what would necessarily obligate it to make it's presence known?
I found an article about that which talks about it in detail. Check it out:
https://steemit.com/science/@thecazador/how-do-we-measure-consciousness