Fix tests with different length strings to look for undefined result, rather than zero.
Merge pull request #50 from stonemirror/master

Fix for issue #48