diff --git a/test/functional/sample_test.rb b/test/functional/sample_test.rb
index 4be5c2675e2f34c7c074ffe430d08ca57e784c0e..18fad7480e24e2d580060cdaf522be4a7f8fed11 100644
--- a/test/functional/sample_test.rb
+++ b/test/functional/sample_test.rb
@@ -29,6 +29,11 @@ class SampleTest < FunctionalTest
     assert_lookup_status 404, 'postmaster@cs.ucl.ac.uk'
   end
 
+  # platform/#8674 handle nonexisting domains
+  def test_nicknym
+    assert_lookup_status 404, 'postmaster@now-dont-you-dare-register-this-domain.coop'
+  end
+
   def test_no_file_descriptors_leak
     lookup 'test@mail.bitmask.net'
     before = open_files_count