fixes bug 1067548 - API testdrive binary data and failure after success, r=@rhelmer
Merge pull request #2369 from peterbe/bug-1067548-api-testdrive-binary-data-and-failure-after-success

fixes bug 1067548 - API testdrive binary data and failure after success