adding generate_embed_test for quicker testing