Moved preview termination conditional to earlier in flag_entity_view().
Added field entry link type test.
Fixes for test fails
Merge pull request #86 from larowlan/test-fails

Fixes for test fails
Fix definition of EntityFlagType

"derivative" got renamed to "deriver". 

Related change record: https://www.drupal.org/node/2257811
Merge pull request #87 from webflo/patch-1

Fix definition of EntityFlagType