add node modules and test code