Script test macro