Following Eugeniy's suggestion in http://reviews.llvm.org/D10336, we can remove UB from tests for strstr, strcasestr, strspn, strcspn and strpbrk interceptors by extending corresponding string an poison it's tail manually.
Tested on x86_64-linux-gnu.
How does it look?