introduce integration test
enable integration test in node, disable in phantomjs