Use Trainer class in Test.
Add class to find variables in scope.