make testChunks work with PHP
Merge pull request #70 from hatsch/master

make testChunks work with PHP backend