Adding more comprehensive IssuedToken policy systests
Fixing tests