MDL-41017 add tests for allowobjectembed