tests

*init tests
*update clarifai error handling