1. Fixed the bug of query strings not correctly constructed from query files if there are empty lines in between.
2. Implemented summary of passing and failed tests at the end of the execution.