Using an invalid object should raise TypeError