Added to-do item (tests). Switch to using String.contains? instead of regex.