Added tests for Windows
Added method replace and corresponds