testing unregistering. closes #9.