update:add function test file
update:add new js to SpecRunner