removed NDEBUG for unit tests in CMAKE_BUILD_TYPE=Release mode

NDEBUG cannot be defined because this compiles out the asserts