You're in the right place.
- Select the root of your site
- Open up the IIS Rewrite module
- Give the rule a name, and fill out the settings as follows.
This will find any address that is not a file and redirect it to http://test.domain.com/handlestuff.php