fix testing macros