refactor(tests): add test macros