Updated test suite to use smart pointers; it still works, wow