Added test cases related to #683

This PR contains a test case that confirms that my doubts about inheritance config for `@EmbedOne` and `@EmbedMany` were wrong and ODM works exactly as excepted. ;) But providing tests to avoid possible regression in future.