Add quicktest using stock data.

Can't make this into a JS test yet since we don't support
asynchronous loading; Issue has been filed at #963.
This is more efficient if `i` gets really big.