Change rspec output format to documentation
Add tests for role