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.
Ternary here instead of initializing with an initial entry would be cleaner