Add spec for <img> entity creation