Add unit tests for StringReader. You can run them with `./kraken --test`.