Added test some test codes.