Unit tests

- test for issue #28: ensure encoded attachment names are decoded.