Modify test code
Add node version for travis CI