upload the test code

the test code, maybe it will be used in future.