adds a test to check error-free handling of non-ascii entries
adds a regression test for unicode handing
fixes exploding when db-field exists but is empty