Create abstract base class for database tests. Create Post entity.