Add macro test from N3781.