fix shortest non substring test case
more tests