How do you test or implement use cases for ai