added new test and extracted dude string to a method