[IMP] Added doctest for all method in instance tools