Added test for method "pick" with string parameter.