Added test-unit as a development dependency.
Added nicer error messages.
Added a helper function for nicer windows error messages.
Refactored the tests a bit for test-unit 2.x.