For #3 and #4 switched wrapper tests over to mocking