Mapping debug: duplicate entities #296:
   - added unit test