Write tests to use the functions in gldb_common to start up an application, issue various queries, check the results and shut it down again.