use macro in test