Skip tests if Docker is unavailable.
Fix some other tests that used Unit().