Added test for trial meta data queries
Whoops - forgot to commit this file with the last 1.  Also removed dead
code.
Added insertControllerMeta test