Port regression doctest to unit test

I'd like to port all of the doctests to unit tests at some point but this is just one test ported. This makes things easier for you to review and I only have bits and pieces of time so I can only do one or two tests at a time.

Again, I'm building on the Travis pull request (https://github.com/chrisglass/django_polymorphic/pull/22). Thanks.