Introduce macro to simplify testing