test macro for selection behavior
Improvements to selection/macro interoperability

Fixes #76