Fixed tests for revoking of permissions
2.0.1