This method actually does work. If I just create a category via the API and then delete it with this method it works. The problem is with the tearDown. It doesn't delete successfully there, and I believe that is because it is still attached to something. I hope to deal with that in a future pull request.