Added test for empty strings (loosely related to #207)