Added some test codes