tests: add test that ensures that empty string conversion works

Fixes #39.