Add misc.Macro integration test.

* Uses misc.Sleep as a test of inside of the json