add basic test codes