Packed runtime creation for tests into a macro.