All works now.  Add testing functions to insert and query many times.