fixed tests so they can be run from either node-jasmine or jasmine