Fixes bad model name in reference
Fixes backup and restore and rewrite test for them