Write test and then write method to shorten words