Fix failing tests

path.join and jasmine-node api changed