Make first argument of test_pac a filename.
Eliminate a compiler warning.
Use shorter timeouts in test_pac.
Test with more threads in test_pac.
Add parallel test.