Fixed the failing test: the issue was related to the case of the used
variable.
Added more tests for #undef which have to do with the case of the macro
and variable names. One test was failing, fixed the found issue in the
implementation.