Update tests to work in node, remove unnecessary tests