.
.

Split test function into two shorter functions: One finalises the text of the program to be parsed and calculates the "query_offset", while the other function then "runs the test".
Add precompiled_header.h++

I observed time to build test executable halved by using precompiled_header.h++.pch.