handle negative zero; fixes #921
make test_chunking a little more lenient