[Unit Tests] - Some fixes for Windows builds

I've fixed several errors in the test framework:
* Path suffix comparison
* Unclosed output streams in node renaming/deletion tests

Actually, seems there is some errors in <code>ComputerHistoryListenerIT</code> test (or code) implementations, because the node changes history does not appear in the file system on Windows.