testBytes is a tight array, so when you replace a name of "Test" with "New event name", there's no room for it.  If you want to test renaming, change to a name 1-4 characters long.