Fix failing test. Deletes the attribute if set to an empty string.