Add spec for ShortenerService.