Add macro in tests