Converted zmpPreview and added test