Updated dir tests to cover backup_dir expansion.
Fixed unnecessary and misplaced test files.
Added tests for file backup actions.

Only tests basic functionality, and makes heavy-handed use of mocking.