Add the basic test of getdata.py