Add tests for entity reference field formatter display

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