Fix code style.
Only do mysql backups when we have a mysql backend.
Refactor all the tests!

raise resource coverage to 100%!
Merge pull request #47 from rwaffen/raise_coveraged_and_style

Raise coveraged and style