Issue #1962358 by penyaskito: Changed hook_entity_info_alter to hook_entity_type_alter. See https://drupal.org/node/2196275
Issue #1962358 by penyaskito: Changed theme() calls to _theme(), for making tests green before converting to render arrays. See https://drupal.org/node/2195739