add some test function