fixes #6749 - fix API v2 examples in docs that show error messages by re-ordering functional tests