Added test to check words() returns a string