trying to mock out libraries instead