Verify that optional stop code is excluded when not defined