Mock revoke endpoint
Merge branch 'fix.test'