Moved SubjectWrapper to TestContext.cs

This type was part of the runtime operation, how a subject was retrieved from
the actual test context.
Removed unnecessary tmp variable