Add tests covering autosync true and false.
Merge pull request #1 from apenney/tests

Add tests covering autosync true and false.