Added the backup method.
Added backup tests.