Update test code since update of npm packages