added tests for embedded schemas, added set_save plugin