test code of hodgkin-huxley model simulation