Fix missing application of namespace qualification.
Add test cases for a bug in WSTR::get_truncated() (ref gh-57).
Fix a bug in WSTR::get_truncated() (close gh-57).
Use more specific test assertions.