added embedder and test class for the admin scenarios