updates so that we can run these tests inside of node