Fixing tests

Fixing tests
Merge branch 'refactor_permissions' of https://github.com/gbrego/SRA into refactor_permissions