Upgrade content preview junit tests