removing unnecessary restart command
added repo tests to XML file
catching an unregistered exception