Test reading of valid strings.
Test reading invalid strings.