Removes private member from unit test