Write a test to verify RegisterAsyncTask + ThrownExceptions behavior. Fixes #501