[t] Add some basic tests for PIR macros