Verify repository restore works

Added a new test (and modified an existing test) to check that content added after a backup is not there following a restore from the backup.