removed unnecessary itertools chain.
added success test case around authorize & revoke