Added partial support for delegation tokens; grouped tests by context
Added opts argument to appropriate methods in documentation