create test for DbPostRepository->findBySlug()