adding embed test, as well as lots of feature requests