tests: actors: Fix check for a missing key on message-ref