Added test for instance methods

Serializes instances instead of pickling

Caliendo doesn't try to pickle instances in args anymore