Updated driver wrapper with pointer size fixes and more unit tests