Run tests by default

Also fixes some other dependencies.