Test for https://github.com/zendframework/zf2/issues/4492