Fixed unflushed buffers in tests, fixed ident-comparison on string for PyPy
Merge pull request #51 from lukaslueg/master

Fixed two tests, fixes for PyP