add some test codes