Test cases & bugfixes

- dangerous code from Role object removed
- fixed CLI commands
- updated test cases
- added travis information