Removed unused action.
Add unit tests.