Cleanup regression-tests.api test suite

Fix PEP8 stuff.
Also fix a not-actually-testing-the-output case.
API: Fix decoding of symbols

=2F needs to be a slash, but we thought it was a #.
Merge pull request #1420 from zeha/api-testsuite-cleanup

Cleanup regression-tests.api test suite