Correct test excludes
Check for definitions before defining

* Check for definitions before defining
* Use Codeship.io for CI
Update aihrus framework