new macros for testing the STAT package