tests: keep the asserts in release mode