added edit testcase and helper for it, generalised appearing/disappering on embed