test: only use assert_se

The asserts used in the tests should never be allowed to be
optimized away