Added unit tests for IsExitPathAvailable