Changed reference to path to what it actually is.

This makes the column hiding work.
Added helpers for testing testmodel tables.

This just allows any version of the demo page to define its own notion
of the default query
Correct table expansion logic. Fixes #58