adding test embedding code