Beginning test suite

* Cache same queries
* Removed extraneous `id` field from update table schema