'Return an Image referenced by both a FooImage and a FooFile.'

def create_image(self):

    test_image = Image()
    test_image.save()
    foo_image = FooImage(my_image=test_image)
    foo_image.save()
    test_file = File.objects.get(pk=test_image.pk)
    foo_file = FooFile(my_file=test_file)
    foo_file.save()
    return test_image
