added tests for togglePick