new to node js - testing http/request lib