Adds more convenient testing methods on String

- adds `beginsWith:`
- adds `endsWith:`