add phpunit config
use DateTime for CacheItem expiration time