make npm test runnable