TokenAwarePolicy unit tests