add endia_test code.