Fixed some issues with windows paths and with gc.Not
Added tests for SamePath checker