[test] switches a couple exceptions -> test macros