Added test case for #896
Merge branch 'master' of https://github.com/zeromq/issues