refactor Unit Tests: use DEBUG and NODEBUG instead of true and false (where appropriate)