The tests failed to compile due to invalid use of try_query. For some reason this wasn't detected by newer compilers. Also fixed the compilation failure of mxs1713_lots_of_database on CentOS 7.
The resultset collection was not detected early enough in the code which caused partial results to be returned to the router.