Add tests for apt cache configuration.