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