Maybe use assert.deepEqual to test the actual array that is returned by `slang.partition` instead of joining it?  Also, it would be good to have a test for a string that is not evenly divisible into pieces.