unittests: make test macros save for strict aliasing