added tests for pick()