added test for createEphemeral