Simple unittest for fetch class
sample data for unittest
make ip function as a classmethod