diff --git a/tests/micropython/heapalloc_str.py b/tests/micropython/heapalloc_str.py
index 0df39d3c0c6abd31bb2fe880e6ca4f1929cc3c93..39aa56ccd78349af3195669dccda50a5d88634fd 100644
--- a/tests/micropython/heapalloc_str.py
+++ b/tests/micropython/heapalloc_str.py
@@ -3,6 +3,7 @@ import micropython
 
 micropython.heap_lock()
 
+# Concatenating empty string returns original string
 b"" + b""
 b"" + b"1"
 b"2" + b""
@@ -11,4 +12,7 @@ b"2" + b""
 "" + "1"
 "2" + ""
 
+# If no replacements done, returns original string
+"foo".replace(",", "_")
+
 micropython.heap_unlock()