Cleanup readme and tests

1. Tests import needed lib unittest
2. Tests raise exceptions rather than obsolete strings
3. README has a couple of typo fixes and an addition for Windows
4. Some trailing whitespace killed