Tests and functionaity for 'unregister' complete. Fixes #4.
Fixes #5. Handle failed unregister with data form + attempt with data form