Unit Tests for Version Control

Added 2 more Repository function tests.

Fixed some problems with Subversion.