Test encoded binary output

Otherwise PHP sometimes refuses to match binary content using PCRE.

Signed-off-by: Michal Čihař <michal@cihar.com>
Fix regexp to match

Signed-off-by: Michal Čihař <michal@cihar.com>