Fix a typo
Add a transfer error test