substitute scriptlets for applets in zTest chapter