Fix expect import for running tests on node