fix test in jasmine / linux