W3 work: Use macros and shared examples in tests