Test of Glass Mirror API with node.js