Restoring test_qa test_qa_sock to a working state.

Adding dummy.crt which wasn't yet on the source tree, and using relative paths
instead of full path when loading it.
Fixing makefile error due to which the wrong main() function was being taken.