should not this be something like $(test.nsresult[dummy]) ?