add tests for backup api .