Extract the values returned to be pointers of the used variables so I can mess around with them in my unit tests.