Testing if the method returns a string array.