Unit test for when words contain '-'.