Improve output in case test query error
Merge pull request #537 from 28msec/tests

Improve output in case test query error