init tests, update clarifai error handling
Merge pull request #3 from freeslugs/tests

tests