add beginWith and endWith matchers