Changed object_p() to d_object_p()
Added generic test
Added picklers for class objects.