Throw exception on bad import element
Add updated phpunit config late