What is the sole purpose test, and how does it work?