Use gocheck instead of testing directly

Wrapping the repository test in a suite also makes it very easy to test
multiple repositories.