Removed use of PrivateObject; instead, added a private subclass of the necessary object to the test class, and provided methods in the subclass to access the needed private member variables.