Failing tests showing a regression @753a8345cb4

This PR adds a test that shows a regression at @753a8345cb44f8a5a5610a7d33fcb46642c69062 that currently [causes zf2 builds to fail](https://travis-ci.org/zendframework/zf2/jobs/6727287)

Was merged into master at @faa419cc0e8e65beb3f335062440cc62c78c9ee8