FEAT: Add TAKE action support.

TESTS: Add unit tests for TAKE action.
Merge pull request #809 from qtxie/take-action-1

FEAT: Added TAKE action support.