Add tests for partitioning with string keys

We have two new tests: one from a string array and one from a textFile. Will be useful to debug #29