Skip these tests if svn is not available.

Addresses an issue raised in the original pull request #4123 where the tests failed if Subversion was not installed. Added logic to skip the tests if `svn` cannot be found.