More consistent PHP error messages on failed internal func calls
Increase readability and robustness of test 007