Added more tests, and added a secondary check of breakpoints in case a word is a substring of another