[Tests] Fix accidental EXTERNAL_DECLARATION_CANNOT_HAVE_BODY in test