test string contained more than expected