Convert from tastypie tests to pure Django unit tests.