fixed functional spec tests on node