Add tests for entity_embed hooks

d.o issue: https://www.drupal.org/node/2306645