Share test cases between Web and Node.js