Conduct periodic regression tests of nsTransferable selection caching

To ensure correct operation of selection caching over time, implement automated tests validating requirements from legacy/trac#9701 (moved).

Trac:
Username: michael