don't choke on empty files
"Merge pull request #360 from aconrad/support-empty-files\n\ndon't choke on empty files"
Revert part of "Fix MemoryHunk.__repr__"

This removes the tests sfrom ffcff0fc96f951918dc486f2d2594708f672bd8c,
because py.test is currently not used.