Add test classes.
Fix XPCString truncating the last character.