     describe "Working with #{corename} library.", ->
       for platform in platforms
         do (platform) ->
-          corefile = core.getCoreFile(corename, platform)
+          corefile = core.getCoreFile corename, platform
           it "url should resolve to 200 for #{platform}", (done) ->
             @timeout 3000
             url = core.getCoreURL corefile, platform

              done()
          it "should be able to fetch core", (done) ->
            @timeout 4000
            core.fetchCore(corefile, platform).then (path) ->
              should.exist path
              fs.readFile path, (err, data) ->
                should.not.exist err

            , done
          it "caching should work", (done) ->
            @timeout 2000
            core.getCore corename
            .then (path) ->
              fs.readFile path, (err, data) ->
                should.not.exist err
                should.exist data
