add some test function.