Prevent async from messing with tests
Add some repo tests
Merge pull request #140 from michael/more-tests

More tests