Add tests for weird permissions and refactor tests
Add tests for weird permissions and refactor tests

StackStorm/st2,Plexxi/st2,nzlosh/st2,nzlosh/st2,Plexxi/st2,Plexxi/st2,StackStorm/st2,nzlosh/st2,StackStorm/st2,nzlosh/st2,Plexxi/st2,StackStorm/st2