adapt to drupal8 alpha10 and update simpletests

https://drupal.org/node/1796606