[BUG] Failing test case for empty attribute values
[BUGFIX] Fixes #818
Merge pull request #826.