Spec for SwarmController, testing all permissions.
Merge branch 'tests'