Add a scripted test that uses macro annotations