Fix phobos tests for issue 8765 fix.