Tests and catching of InvalidArgumentException within __call