Tests: Add unit tests for rendering in Comment Template block
Follow-up [53138].
Props darerodz. See #55505.