Fix string literal test to handle a nil begin